﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Themes/MasterPage.master" AutoEventWireup="true"
    CodeFile="PlanUpLoad.aspx.cs" Inherits="PlanMangement_PlanUpLoad"%>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TabTitle" runat="Server">
    <%=Resources.Resource.ForcastPlanUpload %><!--预计产量上传 -->
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="Server">
    <div class="queryDiv1">
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td class="divFrameHead">
                    <span class="querytextCss">
                        <%=Resources.Resource.ForcastPlan%><%--预计产量--%></span>
                </td>
            </tr>
            <tr>
                <td class="submitborder" style="padding-top: 15px; padding-bottom: 15px;">
                    <table style="margin-bottom: 10px;" width="95%" border="0" align="center" cellpadding="0"
                        cellspacing="0">
                        <tr>
                            <td class="submitborder4">
                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td class="submitFieldbg">
                                            BUCol&nbsp;
                                        </td>
                                        <td align="left">
                                            <asp:TextBox ID="txt_BuCol" runat="server" Text="A"></asp:TextBox>
                                            &nbsp;<asp:RegularExpressionValidator ID="RegularExpressionValidator1" 
                                                runat="server" ControlToValidate="txt_BuCol" Display="Dynamic" 
                                                ErrorMessage="请输入字母" ForeColor="#CC0000" ValidationExpression="^[A-Za-z]+$">请输入字母</asp:RegularExpressionValidator>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                                ControlToValidate="txt_BuCol" ErrorMessage="*" ForeColor="#CC0000">*</asp:RequiredFieldValidator>
                                        </td>
                                        <td class="submitFieldbg">
                                            ProductCol&nbsp;
                                        </td>
                                        <td align="left">
                                            <asp:TextBox ID="txt_ProductCol" runat="server" Text="T"></asp:TextBox>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                                                ControlToValidate="txt_ProductCol" Display="Dynamic" ErrorMessage="请输入字母" 
                                                ForeColor="#CC0000" ValidationExpression="^[A-Za-z]+$">请输入字母</asp:RegularExpressionValidator>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                                ControlToValidate="txt_ProductCol" ErrorMessage="*" ForeColor="#CC0000">*</asp:RequiredFieldValidator>
                                            &nbsp;
                                        </td>
                                        <td class="submitFieldbg">
                                            PlanStart&nbsp;
                                        </td>
                                        <td align="left">
                                            <asp:TextBox ID="txt_PlanStart" runat="server" Text="CI"></asp:TextBox>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                                                ControlToValidate="txt_PlanStart" ErrorMessage="请输入字母" ForeColor="#CC0000" 
                                                ValidationExpression="^[A-Za-z]+$" Display="Dynamic">请输入字母</asp:RegularExpressionValidator>
&nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txt_PlanStart" 
                                                ErrorMessage="*" ForeColor="#CC0000">*</asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="submitFieldbg">
                                            Version&nbsp;
                                        </td>
                                        <td align="left">
                                            <IMC:VersionDropDown ID="dll_PlanVersion" runat="server">
                                            </IMC:VersionDropDown>
                                            &nbsp;
                                        </td>
                                        <td class="submitFieldbg">
                                            VersionRemark&nbsp;
                                        </td>
                                        <td align="left">
                                            <asp:TextBox ID="txt_VersionRemark" runat="server"></asp:TextBox>
                                            &nbsp;
                                        </td>
                                        <td class="submitFieldbg">
                                            <%=Resources.Resource.SelectFile%><%--选择文件--%>
                                        </td>
                                        <td align="left">
                                            <IMC:AnalyzeUpLoad ID="UP_PlanAnalyze" runat="server" Width="150" />
                                            <asp:RequiredFieldValidator runat="server" ID="rfv1" ControlToValidate="UP_PlanAnalyze"
                                                 ErrorMessage="*" Text="*"></asp:RequiredFieldValidator>
                                            &nbsp;
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                    <div style="text-align: center;">
                        <asp:Button ID="btn_Upload" runat="server" Text="<%$Resources:Resource,ResolveUpload %>" 
                         OnClick="btn_Upload_Click"/>  
                        <%--解析上传--%>
                        <asp:Button ID="btn_UploadByVersion" runat="server" Text="<%$Resources:Resource,ResolveUploadbyVersion %>"
                            OnClick="btn_UploadByVersion_Click" />
                        <%--版本上传--%>
                    </div>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
